$app-bar-height: 85upx;

.acme-app-bar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  box-sizing: border-box;

  .app-bar-view {
    width: 100%;
    height: $app-bar-height;
    line-height: $app-bar-height;
    display: flex;
    align-items: center;
    justify-content: space-between;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 8000;
    box-sizing: border-box;
   
    &.safe-area-top {
      margin-top: var(--status-bar-height);
    }

    > div {
      flex: 1;
      height: 100%;
    }

    .left-wrap {
      height: 100%;
      display: flex;
      align-items: center;
      
      .back-btn {
        width: 90upx;
        height: 100%;
        text-align: center;

        .icon {
          
        }
      }
      
      .left-text {
        color: #333;
        font-size: 28upx;
        font-weight: 500;
      }
    }

    .title {
      height: $app-bar-height;
      color: #333;
      font-size: 32upx;
      font-weight: 500;
      text-align: center;
      position: absolute;
      left: 0;
      right: 0;
      margin: auto;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .right-wrap {
      display: flex;
      justify-content: flex-end;
      text-align: right;
      
      .right-text {
        padding: 0 25upx;
        color: #333;
        font-size: 28upx;
      }
    }
    
    /deep/ .acme-search-bar {
      flex: 1;
      padding: 0;
    }
  }
}